package com.cljz.makepassenger.base;

import cn.droidlover.xdroidmvp._1QConfig;

/**
 * 用来记录各类链接
 * Created by apple on 2017/3/31.
 */

public class Constant {

    public final static String FIRST_OPEN = "FIRST_OPEN_2.3.0";
    public final static String TOKEN = "TOKEN";
    public final static String HAS_GUIDANCE = "HAS_GUIDANCE";
    //是否是开发者模式
    public final static String BASE_URL = _1QConfig.DEV ? "http://test.inviter.net/index.php/" : "http://inke.inviter.net/index.php/";
    public static final String DB_NAME = "data-db";
    public final static String TIME_SELECT_KEY = "TIME_SELECT_KEY";

    //获取验证码，用来拼接参数
    public final static String SMS_SEND = "Api/Index/smsSend/";
    //验证码登录
    public final static String SMS_LOGIN = "V2_2/common/login";
    //第三方登陆
    public final static String THIRD_LOGIN = "V2_2/common/thirdLogin";
    //三方登陆绑定
    public final static String THIRD_LOGIN_BIND = "V2_2/common/thirdBinding";
    //预览邀请行
    public final static String AD_LIST = "Api/ad/adListNew";
    //首页信息提示
    public final static String INDEX_INFO = "V2_1/Index/indexInfo";
    //首页推荐活动
    public final static String ACTIVITY_INDEX = "V2_3/activity/activityindex";
    //邀约记录
    public final static String INVITE_LIST = "V2_3/invite/inviteList";
    //信息删除
    public final static String MSG_DEL = "V2_1/Index/msgDel";
    //邀约提醒取消
    public final static String WARN_CANCEL = "V2_1/invitation/warnCancel";
    //意见反馈
    public final static String FEEDBACK = "V2_1/index/feedback";
    //版本更新
    public final static String NEW_VERSION = "Api/Index/versionUpdate";
    //系统邀约内容
    public final static String INVITE_CONTENT = "Api/Invitation/inviteContent";
    //邀请函修改
    public static final String INVITE_UPDATE = "V2_2/invite/inviteUpdate";
    //获取城市信息
    public final static String GET_CITY = "V2_1/invitation/getCity";
    //发布邀约
    public static final String ISSUED_INVITATION = "V2_1/Invitation/issuedInvitation";
    //邀请详情
    public static final String INVITE_DETAIL = "V2_2/invite/inviteDetail";
    //邀约取消删除
    public static final String INVITE_CANCEL = "V2_3/invite/inviteCancel";
    //用户信息上传
    public final static String SET_USER_INFO = "V2_3/user/setUserinfo";
    /*上传图片接口*/
    public final static String UPLOAD_IMG_URL = "Api/Invitation/uploadImg";
    //邀约提醒
    public static final String INVITER_WARN = "V2_1/Invitation/inviterWarn";
    //更换手机号
    public static final String REPLACE_PHONE = "Api/User/replacePhone";
    //活动类型获取
    public static final String GET_TYPE_LIST = "V2_2/common/getTypeList";
    //活动列表
    public static final String ACTIVITY_LIST = "V2_2/activity/activityList";
    //收藏活动
    public static final String COLLECTION = "V2_2/activity/collection";
    //取消收藏
    public static final String COLLECTION_CANCEL = "V2_2/activity/collectionCancel";
    //活动收藏列表
    public static final String COLLECTION_MY = "V2_2/activity/collectionMy";
    //我的活动
    public static final String ACTIVITY_MY = "V2_2/activity/activityMy";
    //获取用户信息
    public static final String GET_USER_INFO = "V2_3/user/getUserinfo";
    //发布邀请函
    public static final String PUBLISH = "V2_2/invite/publish";
    //活动-查看参与人
    public static final String MEMBER_LIST = "V2_2/invite/memberList";
    //活动接受
    public static final String INVITE_ACCEPT = "V2_2/invite/inviteAccept";
    //活动用户信息获取
    public static final String GET_ACTIVITY_USER_INFO = "V2_2/activity/getActivityUserinfo";
    //活动用户信息设置、接受
    public static final String ACTIVITY_USER_SET = "V2_2/activity/activityUserSet";
    //环信群id交换活动id
    public static final String EX_CHANGE = "V2_2/activity/exchange";
    //通知列表
    public static final String NOTICE_LIST = "V2_2/user/noticeList";
    //通知删除
    public static final String NOTICE_DELETE = "V2_2/user/noticeDelete";
    //通知已读设置
    public static final String NOTICE_READ = "V2_2/user/noticeRead";
    //邀请函分类和图片
    public static final String INVITATION = "V2_2/invite/invitation";
    //用户退出
    public static final String LOG_OUT = "V2_2/common/logout";
    //用户积分列表
    public static final String USER_POINT_LIST = "V2_3/user/UserPointsList";
    //用户兑换积分
    public static final String EXCHANGE_POINT = "V2_3/user/exchangePoints";
    //用户钱包和余额
    public static final String BILL_LIST = "V2_3/user/billList";
    //设置用户PayPal账户
    public static final String SET_PAYPAL_ACCOUNT = "V2_3/user/setPayPalAccount";
    //钱包提现
    public static final String WITH_DRAWA = "V2_3/user/withDrawa";
    //设置支付密码
    public static final String SET_PAYMENT_PWD = "V2_3/user/setPaymentPass";
    //修改支付密码
    public static final String MODIFY_PAYMENT_PWD = "V2_3/user/modifyPaymentPass";
    //判断支付密码是否正确
    public static final String CHECK_PAYMENT_PWD = "V2_3/user/checkPaymentPass";
    //重置支付密码
    public static final String RESET_PAYMENT_PASS = "user/resetPaymentPass";
    //重置密码验证码校验
    public static final String CHECK_RESET_CODE = "V2_3/user/checkResetCode";
    //支付宝提现
    public static final String ALIPAY = "V2_3/Alipay/payToUser";
    //微信提现
    public static final String WXPAY = "V2_3/WxPay/payToUser";

    public static class SmsType {
        /*验证码登录*/
        public final static String SMS_LOGIN = "sms_login";
        //第三方登录绑定
        public final static String SMS_BINDING = "sms_binding";
        //更换绑定的手机号
        public final static String SMS_REPLACE_PHONE = "sms_replace_phone";
        //重置支付密码
        public final static String RESET_PAYMENT_PASS = "reset_payment_pass";
    }

}
